package com.serviceprovider.business.module.admin.transaction.model;

/**
 * The Class NewCsvReplica.
 */
public class NewCsvReplica {

    /** The processed. */
    private boolean processed = false;

    /** The extra_filed1. */
    private String extra_filed1;

    /** The extra_filed2. */
    private String extra_filed2;

    /** The extra_filed3. */
    private String extra_filed3;

    /** The extra_filed4. */
    private String extra_filed4;

    /** The extra_filed5. */
    private String extra_filed5;

    /** The history id. */
    private int historyId;

    /** The id. */
    private int id;

    /** The identification_number. */
    private String identification_number;

    /** The orginator_code. */
    private String orginator_code;

    /** The originator_name. */
    private String originator_name;

    /** The receiver_name. */
    private String receiver_name;

    /** The service_provider_id. */
    private String service_provider_id;

    /** The trace_number. */
    private String trace_number;

    /** The transaction_amount. */
    private String transaction_amount;

    /**
     * Gets the id.
     *
     * @return the id
     */
    public int getId() {
        return this.id;
    }

    /**
     * Sets the id.
     *
     * @param id
     *            the new id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * Gets the history id.
     *
     * @return the history id
     */
    public int getHistoryId() {
        return this.historyId;
    }

    /**
     * Sets the history id.
     *
     * @param historyId
     *            the new history id
     */
    public void setHistoryId(int historyId) {
        this.historyId = historyId;
    }

    /**
     * Gets the service_provider_id.
     *
     * @return the service_provider_id
     */
    public String getService_provider_id() {
        return this.service_provider_id;
    }

    /**
     * Sets the service_provider_id.
     *
     * @param serviceProviderId
     *            the new service_provider_id
     */
    public void setService_provider_id(String serviceProviderId) {
        this.service_provider_id = serviceProviderId;
    }

    /**
     * Gets the receiver_name.
     *
     * @return the receiver_name
     */
    public String getReceiver_name() {
        return this.receiver_name;
    }

    /**
     * Sets the receiver_name.
     *
     * @param receiverName
     *            the new receiver_name
     */
    public void setReceiver_name(String receiverName) {
        this.receiver_name = receiverName;
    }

    /**
     * Gets the originator_name.
     *
     * @return the originator_name
     */
    public String getOriginator_name() {
        return this.originator_name;
    }

    /**
     * Sets the originator_name.
     *
     * @param originatorName
     *            the new originator_name
     */
    public void setOriginator_name(String originatorName) {
        this.originator_name = originatorName;
    }

    /**
     * Gets the orginator_code.
     *
     * @return the orginator_code
     */
    public String getOrginator_code() {
        return this.orginator_code;
    }

    /**
     * Sets the orginator_code.
     *
     * @param orginatorCode
     *            the new orginator_code
     */
    public void setOrginator_code(String orginatorCode) {
        this.orginator_code = orginatorCode;
    }

    /**
     * Gets the transaction_amount.
     *
     * @return the transaction_amount
     */
    public String getTransaction_amount() {
        return this.transaction_amount;
    }

    /**
     * Sets the transaction_amount.
     *
     * @param transactionAmount
     *            the new transaction_amount
     */
    public void setTransaction_amount(String transactionAmount) {
        this.transaction_amount = transactionAmount;
    }

    /**
     * Gets the trace_number.
     *
     * @return the trace_number
     */
    public String getTrace_number() {
        return this.trace_number;
    }

    /**
     * Sets the trace_number.
     *
     * @param traceNumber
     *            the new trace_number
     */
    public void setTrace_number(String traceNumber) {
        this.trace_number = traceNumber;
    }

    /**
     * Gets the extra_filed1.
     *
     * @return the extra_filed1
     */
    public String getExtra_filed1() {
        return this.extra_filed1;
    }

    /**
     * Sets the extra_filed1.
     *
     * @param extraFiled1
     *            the new extra_filed1
     */
    public void setExtra_filed1(String extraFiled1) {
        this.extra_filed1 = extraFiled1;
    }

    /**
     * Gets the extra_filed2.
     *
     * @return the extra_filed2
     */
    public String getExtra_filed2() {
        return this.extra_filed2;
    }

    /**
     * Sets the extra_filed2.
     *
     * @param extraFiled2
     *            the new extra_filed2
     */
    public void setExtra_filed2(String extraFiled2) {
        this.extra_filed2 = extraFiled2;
    }

    /**
     * Gets the extra_filed3.
     *
     * @return the extra_filed3
     */
    public String getExtra_filed3() {
        return this.extra_filed3;
    }

    /**
     * Sets the extra_filed3.
     *
     * @param extraFiled3
     *            the new extra_filed3
     */
    public void setExtra_filed3(String extraFiled3) {
        this.extra_filed3 = extraFiled3;
    }

    /**
     * Gets the extra_filed4.
     *
     * @return the extra_filed4
     */
    public String getExtra_filed4() {
        return this.extra_filed4;
    }

    /**
     * Sets the extra_filed4.
     *
     * @param extraFiled4
     *            the new extra_filed4
     */
    public void setExtra_filed4(String extraFiled4) {
        this.extra_filed4 = extraFiled4;
    }

    /**
     * Gets the extra_filed5.
     *
     * @return the extra_filed5
     */
    public String getExtra_filed5() {
        return this.extra_filed5;
    }

    /**
     * Sets the extra_filed5.
     *
     * @param extraFiled5
     *            the new extra_filed5
     */
    public void setExtra_filed5(String extraFiled5) {
        this.extra_filed5 = extraFiled5;
    }

    /**
     * Gets the identification_number.
     *
     * @return the identification_number
     */
    public String getIdentification_number() {
        return this.identification_number;
    }

    /**
     * Sets the identification_number.
     *
     * @param identificationNumber
     *            the new identification_number
     */
    public void setIdentification_number(String identificationNumber) {
        this.identification_number = identificationNumber;
    }

    /**
     * Checks if is processed.
     *
     * @return true, if is processed
     */
    public boolean isProcessed() {
        return this.processed;
    }

    /**
     * Sets the processed.
     *
     * @param processed
     *            the new processed
     */
    public void setProcessed(boolean processed) {
        this.processed = processed;
    }

    @Override
    public boolean equals(Object obj) {
        if ((obj == null) ||!(obj instanceof NewCsvReplica)) {
            return false;
        }

        NewCsvReplica b = (NewCsvReplica) obj;

        if (id != b.id) {
            return false;
        }

        return true;
    }

    @Override
    public int hashCode() {
        int prime  = 31;
        int result = 1;

        result = prime * result + id;

        return result;
    }
}



